package textrpg.items.tools;

import textrpg.items.Item;

public class Pickaxe extends Item {

    private String pickaxeType;
    private int pickaxeTier;
    public static Pickaxe pick;

    public Pickaxe(String itemName, String itemType, int pickaxeTier) {
        super(itemName, itemType);
        this.pickaxeTier = pickaxeTier;
    }

    public String getPickaxeName() {
        return pickaxeType;
    }

    public int getPickaxeLevel() {
        return pickaxeTier;
    }

    public static void addPickaxe(String itemName, String itemType, int pickaxeTier) {
        pick = new Pickaxe(itemName, itemType, pickaxeTier);
        itemList.add(pick);
    }

    public static void registerPickaxes() {
        addPickaxe("Bronze Pickaxe", "Pickaxe", 1);
        addPickaxe("Iron Pickaxe", "Pickaxe", 2);
        addPickaxe("Steel Pickaxe", "Pickaxe", 3);
        addPickaxe("Mithril Pickaxe", "Pickaxe", 4);
        addPickaxe("Adamantite Pickaxe", "Pickaxe", 5);
        addPickaxe("Rune Pickaxe", "Pickaxe", 6);
    }
}
